#include <vector>
#include <iostream>

int main()
{
    std::vector<int> v;
    for(int i = 0; i<10; ++i)
    {
        v.push_back(i);
    }

    for(int i = 0; i<10; ++i)
    {
        std::cout << v[i] << std::endl;
    }

    return 0;
}